package com.example.runningdemo.java8;

/**
 * @program: Running-Demo
 * @description: 异常函数式接口
 * @author: kangwei
 * @create: 2024-08-12 08:40
 **/
@FunctionalInterface
public interface ThrowExceptionFunction {

    /**
     * 抛出异常
     *
     * @param message
     */
    void throwMessage(String message);
}
